<include file="header"/>
<div class="wraper">
	<div class="load">
        <img class="load-bee" src="/assets/base/charging/images/load-bee.png">

    </div>
	<div class="head">
		<a href="javascript:history.back(-1);" class="iconfont icon-fanhui72"></a>
		<span class="head-name"><if condition="$type eq 1">寻物中心<elseif condition="$type eq 2"/>招领中心<else/>首页</if></span>
	</div>
	<volist name="data" id="vo">
	<a class="lists tb-mode" href="{BEESCRM::U('base/found/detail',array('wechat_id'=>$wechat_id,'info_id'=>$vo['info_id']))}">
		<div class="img-box tb-cell"><img src="/assets/base/found/images/smile.png"/></div>
		<div class="tb-cell"><p class="title">{BEESCRM:$vo.name}</p><p class="time">发布时间：{BEESCRM:$vo.create_time|date='Y-m-d',###}</p></div>
		<if condition="$type eq null"><p class="tb-cell status-box"><if condition="$vo['type'] eq 2"><span class="status">招领<else/><span class="status status-gray">寻物</if></span></p></if>
		<if condition="($type eq 2) AND ($vo['status'] eq 1)"><p class="tb-cell yirenling"><img src="/assets/base/found/images/yrling.png"/></p></if>
		<p class="tb-cell you text-right"><span class="iconfont icon-you"></span></p>
	</a>
	</volist>
	<div class="pop-box">
		<div class="menu clearfix">
			<div class="menu-box pull-left">
				<a href="{BEESCRM::U('base/found/found',array('wechat_id'=>$wechat_id))}" class="menu-list">
					<p class="iconfont icon-fangda"></p>
					<p>发布寻物消息</p>
				</a>
			</div>
			<div class="menu-box pull-left menu-right">
				<a href="{BEESCRM::U('base/found/lost',array('wechat_id'=>$wechat_id))}" class="menu-list">
					<p class="iconfont icon-horn"></p>
					<p>发布招领消息</p>
				</a>
			</div>
		</div>
	</div>
	<include file="menu"/>
	<a href="#" class="bang"><img src="/assets/base/found/images/record.png"/></a>
</div>
<include file="commonJS"/>
<script>
	$(function () {
		var type = '{BEESCRM:$type}';
		if (type == '') {
			$('.pop-box').show();
		} else {
			$('.pop-box').hide();
		}
		$('.pop-box').click(function () {
			$('.pop-box').hide();
		});
	});
</script>
</body>
</html>
